package ArrDemo;

public class ArrDemo1 {
    public static void main(String[] args) {
        int[] arr = new int[10];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = i + 1;
            System.out.println(arr[i]);
        }
        int[] arr2={1,2,3,4,5,6,7,8,9};
        for(int i=0;i<arr2.length;i++){
            System.out.println(arr2[i]);
        }
        String arr3[]={"a","b","c","d"};
        for(int i=0;i<arr3.length;i++){
            System.out.println(arr3[i]);
        }
    }
}